package com.salt.modules.flow.entity;

import com.salt.admin.api.persistence.DataEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 业务流程关系类
 * @Author salt
 * @Date 2021/11/25
 * @Version 1.0.1
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusinessFlow extends DataEntity<BusinessFlow> {

    private String businessId;  // 加入流程的业务ID
    private String procInsId;  // 流程ID
    private String businessType; // 业务分类


    public BusinessFlow(String businessId) {
        this.businessId = businessId;
    }

    public BusinessFlow(String businessId, String businessType) {
        this.businessId = businessId;
        this.businessType = businessType;
    }
}
